#ifndef AVALON_NOTLOGGEDINEXCEPTION_HPP
#define AVALON_NOTLOGGEDINEXCEPTION_HPP
#include "Avalon/IO/IOException.hpp"
#include "Avalon/ServiceLocator/ServiceLocator.hpp"

namespace Avalon {
namespace ServiceLocator {

  /*! \class NotLoggedInException
   *  \brief An service was requested without being logged in.
   *  \author Kamal Mansouri <kranar@hotmail.com>
   */
  class NotLoggedInException : public IO::IOException {
    public:

      //! Constructs a NotLoggedInException.
      NotLoggedInException();

      //! Constructs a NotLoggedInException.
      /*!
        \param message A message describing the error.
      */
      NotLoggedInException(const std::string& message);

      virtual ~NotLoggedInException() throw();
  };
}
}

#endif // AVALON_NOTLOGGEDINEXCEPTION_HPP
